<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body style="font-family:Arial, Helvetica, sans-serif;">
<p>Parts Analysis Summary 4 Weeks:</p>
<table width="800" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">Code</th>
    <th scope="col">Des</th>
    <th scope="col">Shop<br />
    Counts</th>
    <th scope="col">Total<br />
    On Hand</th>
    <th scope="col">Wh<br />
    Stock</th>
    <th scope="col">Is<br />
      LCD</th>
    <th scope="col">Total<br />
    Sales</th>
    <th scope="col">Total<br />
      Trans</th>
  </tr>
<?php foreach($this->arrResNew as $key => $v){?>  
  <tr>
    <td><?php echo $key + 1;?></td>
    <td><?php echo $v[1];?></td>
    <td><?php echo $v[2];?></td>
    <td><?php echo $v[3];?></td>
    <td><?php echo $v[4];?></td>
    <td><?php echo $v[5];?></td>
    <td><?php echo ($v[6])?"YES":"";?></td>
    <td><?php echo $v[7];?></td>
    <td><?php echo $v[8];?></td>
  </tr>
 <?php }?> 
</table>
<p>&nbsp;</p>
</body>
</html>
